package com.unchartedskies.controller.event
{
	import flash.events.Event;

	public class PlayerIOEvent extends Event
	{
	
		public static const CONNECTING:String = "PLAYERIOEVENT.CONNECTING";
		public static const CONNECTED:String ="PLAYERIOEVENT.CONNECTED";
		public static const ERROR:String = "PLAYERIOEVENT.ERROR";
		
		public var message:String;
		
		public function PlayerIOEvent(type:String, message:String)
		{
			this.message = message;
			super(type);
		}
		
		override public function clone():Event
		{
			return new PlayerIOEvent(type, message);
		}
	}
}